#include <stdio.h>
#include <sysexits.h>
#include <string.h>

#include <libxml/tree.h>

#include "../mcx/mcx.h"
#include "charon.h"

int main(int argc, char **argv) {
  struct config *c;
  char *currency, *value, *quota;

  c = ch_config_default();
  if(!c)
    exit(EX_OSFILE);
  if(ch_config_values(c, &currency, &value, &quota))
    exit(EX_SOFTWARE);
  printf("%s %s per %s bytes\n", currency, value, quota);
  return 0;
}
